package com.fsl.springbootapollo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author dell
 * 使用apollo分布式配置中心实现数据库动态切换
 */
@SpringBootApplication
@EnableApolloConfig
@MapperScan("com.fsl.springbootapollo.mapper")
public class SpringbootApolloApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootApolloApplication.class, args);
	}

}
